/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.Cloudtap.Plugins;
import com.Cloudtap.Backend.*;
import java.util.*;

/**
 *
 * @author Dharshan
 */
public class MockVMProvider implements iVMProvider{
  
    public MockVMProvider()
    {
    }

    public String getName()
    {
        return "Mock VM provider";
    }
    
    public Vector<iVM> getVMs()
    {
        Vector<iVM> providerVMs = new Vector<iVM>();
        providerVMs.add(new MockVM("vm1","vm1description", new Date(),VMState.Stopped,"Windows","Small",true,true));
        providerVMs.add(new MockVM("vm2","vm2description", new Date(),VMState.Stopped,"Windows","Large",true,false));

        return providerVMs;
    }

    public Vector<iVMType> getVMTypes()
    {
        Vector<iVMType> types= new Vector<iVMType>();
        types.add(new MockVMType());
        return types;
    }

    public void deleteVM(Vector<iVM> vms)
    {
    }
}
